<div class="modal-header">
  <h4 class="modal-title">修改此格中的数字：</h4>
  <button type="button" class="close" aria-label="Close" (click)="activeModal.dismiss('Cross click')">
    <span aria-hidden="true">&times;</span>
  </button>
</div>
<div class="modal-body">
  请输入： <input type="text" #inputValue />
</div>
<div class="modal-footer">
  <button type="button" class="btn btn-outline-dark" (click)="activeModal.close(inputValue.value)">确定</button>
</div>